<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="/epms/static/Style/skin.css" />
  
   <link rel="stylesheet" type="text/css" href="/epms/static/css/bootstrap.min.css" />
   
   

    <link rel="shortcut icon"  href="/epms/static/images/favicon.ico">
    <link rel="apple-touch-icon" href="/epms/static/images/apple-touch-icon.png">
    <link rel="apple-touch-icon" sizes="72x72" href="/epms/static/images/apple-touch-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="114x114" href="/epms/static/images/apple-touch-icon-114x114.png">
    <style>
      body {
        padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
        padding-bottom: 10px;
      }
      #components{
        min-height: 600px;
      }
      #target{
        min-height: 200px;
        border: 1px solid #ccc;
        padding: 5px;
      }
      #target .component{
        border: 1px solid #fff;
      }
      #temp{
        width: 500px;
        background: white;
        border: 1px dotted #ccc;
        border-radius: 10px;
      }

      .popover-content form {
        margin: 0 auto;
        width: 213px;
      }
      .popover-content form .btn{
        margin-right: 10px
      }
      #source{
        min-height: 500px;
      }
      .xians{
      padding-top: 100px;
      padding-left: 450px;
      margin:30px 50px;
      }
      #build input{
      width:400px;
      height: 30px;
      margin-bottom: 10px;
      }
      #build textarea{
      width:400px;
      margin-bottom: 10px;
      }
       #build{
       margin: 75px;
       }
       #build1{
       width:550px;
       border:1px solid black;
       }
      h3{
      margin: 10px auto 50px 100px ;
      }
      
    </style>
    
  </head>

    <body>
    
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <!-- 头部开始 -->
            <tr>
                <td width="17" valign="top" background="../../../static/Images/mail_left_bg.gif">
                    <img src="../../../static/Images/left_top_right.gif" width="17" height="29" />
                </td>
                <td valign="top" background="../../../static/Images/content_bg.gif">
                    <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" background="./../../../static/Images/content_bg.gif">
                        <tr><td height="31"><div class="title">流程申请</div></td></tr>
                    </table>
                </td>
                <td width="16" valign="top" background="../../../static/Images/mail_right_bg.gif"><img src="../../../static/Images/nav_right_bg.gif" width="16" height="29" /></td>
            </tr>
        </table>
<div class="xians">
	<div>
	
	</div>
	<div>
	<div class="container">
      <div class="row clearfix">
		  <div class="span6">
          <div class="clearfix">
           <div id="build1">
            <div id="build">
            
            <h3>用户流程申请表</h3>
           <form action="startprocess2.html" id="tijiao" method="post">

            <input type="hidden" name="processid" id="processid" value="${prolist[0].processid}"/>
            <input type="hidden" name="projectid" id="projectid" value="${prolist[0].projectid}"/>
           <h5 style="color: black;font-size: 15px;">开始时间:</h5>
           <input class="text"  type="datetime-local" name="begintime" /><br/>
           <h5 style="color: black;font-size: 15px;">结束时间:</h5>
			<input class="text"   type="datetime-local" name="endtime"/><br/>
			 <input type="hidden" name="formcontent" id="forms"/>
            <span id="testid">${formcontent}</span>
            <input name="" id="source1" type="button" class="btn btn-success radius size-L" value="&nbsp;提&nbsp;&nbsp;交&nbsp;&nbsp;申&nbsp;&nbsp;请&nbsp;"/>
             </form>
            </div>
          </div>
          </div>
           </div>
          </div>
        </div>
	</div>
</div>
        
    </body>
    
    

  <!-- <script type="text/javascript">
    $(
    function(){
    $("#source1").click(
        function(){
        	var x2 = document.getElementById("testid").outerHTML;  
        	alert("x2="+x2);  

        })
    }
  );
</script> -->
 <script type="text/javascript" src="/epms/static/js/jquery.min.js"></script>
<script type="text/javascript">
  $(function(){
    $(".label1").blur(function(event) {
      /* Act on the event */
      var b =$(this).val();
      $(this).attr('value',b);
    });

    $("#source1").click(function(event) {
      /* Act on the event */
      var a =$("#testid").html();
      $("#forms").val(a);
      var ss = $("#forms").val();
      $("#tijiao").submit();
    });
  })
</script> 
</html>